<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GrPPI: grppi::mpmc_queue&lt; T &gt; Class Template Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.svg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">GrPPI
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">Generic and Reusable Parallel Pattern Interface</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.2 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacegrppi.html">grppi</a></li><li class="navelem"><a class="el" href="classgrppi_1_1mpmc__queue.html">mpmc_queue</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classgrppi_1_1mpmc__queue-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">grppi::mpmc_queue&lt; T &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="mpmc__queue_8h_source.html">mpmc_queue.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a343e8c80235cf1772633606f442c58c6"><td class="memItemLeft" align="right" valign="top">using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrppi_1_1mpmc__queue.html#a343e8c80235cf1772633606f442c58c6">value_type</a> = T</td></tr>
<tr class="separator:a343e8c80235cf1772633606f442c58c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a831fb1b11bf0da38d55b6b2b4715de0a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrppi_1_1mpmc__queue.html#a831fb1b11bf0da38d55b6b2b4715de0a">mpmc_queue</a> (int q_size, <a class="el" href="namespacegrppi.html#aa0514650a765d4853343655e7588662b">queue_mode</a> q_mode)</td></tr>
<tr class="separator:a831fb1b11bf0da38d55b6b2b4715de0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a686cf365570236237913d6bd7a556768"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrppi_1_1mpmc__queue.html#a686cf365570236237913d6bd7a556768">mpmc_queue</a> (<a class="el" href="classgrppi_1_1mpmc__queue.html">mpmc_queue</a> &amp;&amp;q)</td></tr>
<tr class="separator:a686cf365570236237913d6bd7a556768"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09576b365db27b0d3403c22b7b1dfd17"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrppi_1_1mpmc__queue.html#a09576b365db27b0d3403c22b7b1dfd17">mpmc_queue</a> (const <a class="el" href="classgrppi_1_1mpmc__queue.html">mpmc_queue</a> &amp;)=delete</td></tr>
<tr class="separator:a09576b365db27b0d3403c22b7b1dfd17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a065aeb6cf5567aa0a3173fd97c137b23"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgrppi_1_1mpmc__queue.html">mpmc_queue</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrppi_1_1mpmc__queue.html#a065aeb6cf5567aa0a3173fd97c137b23">operator=</a> (const <a class="el" href="classgrppi_1_1mpmc__queue.html">mpmc_queue</a> &amp;)=delete</td></tr>
<tr class="separator:a065aeb6cf5567aa0a3173fd97c137b23"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8504bb510548e8de6763a27bf4bfc550"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrppi_1_1mpmc__queue.html#a8504bb510548e8de6763a27bf4bfc550">is_empty</a> () const noexcept</td></tr>
<tr class="separator:a8504bb510548e8de6763a27bf4bfc550"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4e63cc8a3cc2006494b11b739711f8e"><td class="memItemLeft" align="right" valign="top">T&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrppi_1_1mpmc__queue.html#aa4e63cc8a3cc2006494b11b739711f8e">pop</a> ()</td></tr>
<tr class="separator:aa4e63cc8a3cc2006494b11b739711f8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa18eda40dec95f4c568f5f40775e8e19"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classgrppi_1_1mpmc__queue.html#aa18eda40dec95f4c568f5f40775e8e19">push</a> (T item)</td></tr>
<tr class="separator:aa18eda40dec95f4c568f5f40775e8e19"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a343e8c80235cf1772633606f442c58c6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a343e8c80235cf1772633606f442c58c6">&#9670;&nbsp;</a></span>value_type</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">using <a class="el" href="classgrppi_1_1mpmc__queue.html">grppi::mpmc_queue</a>&lt; T &gt;::<a class="el" href="classgrppi_1_1mpmc__queue.html#a343e8c80235cf1772633606f442c58c6">value_type</a> =  T</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a831fb1b11bf0da38d55b6b2b4715de0a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a831fb1b11bf0da38d55b6b2b4715de0a">&#9670;&nbsp;</a></span>mpmc_queue() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgrppi_1_1mpmc__queue.html">grppi::mpmc_queue</a>&lt; T &gt;::<a class="el" href="classgrppi_1_1mpmc__queue.html">mpmc_queue</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>q_size</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespacegrppi.html#aa0514650a765d4853343655e7588662b">queue_mode</a>&#160;</td>
          <td class="paramname"><em>q_mode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a686cf365570236237913d6bd7a556768"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a686cf365570236237913d6bd7a556768">&#9670;&nbsp;</a></span>mpmc_queue() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgrppi_1_1mpmc__queue.html">grppi::mpmc_queue</a>&lt; T &gt;::<a class="el" href="classgrppi_1_1mpmc__queue.html">mpmc_queue</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classgrppi_1_1mpmc__queue.html">mpmc_queue</a>&lt; T &gt; &amp;&amp;&#160;</td>
          <td class="paramname"><em>q</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a09576b365db27b0d3403c22b7b1dfd17"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a09576b365db27b0d3403c22b7b1dfd17">&#9670;&nbsp;</a></span>mpmc_queue() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgrppi_1_1mpmc__queue.html">grppi::mpmc_queue</a>&lt; T &gt;::<a class="el" href="classgrppi_1_1mpmc__queue.html">mpmc_queue</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgrppi_1_1mpmc__queue.html">mpmc_queue</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a8504bb510548e8de6763a27bf4bfc550"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8504bb510548e8de6763a27bf4bfc550">&#9670;&nbsp;</a></span>is_empty()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classgrppi_1_1mpmc__queue.html">grppi::mpmc_queue</a>&lt; T &gt;::is_empty</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a065aeb6cf5567aa0a3173fd97c137b23"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a065aeb6cf5567aa0a3173fd97c137b23">&#9670;&nbsp;</a></span>operator=()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classgrppi_1_1mpmc__queue.html">mpmc_queue</a>&amp; <a class="el" href="classgrppi_1_1mpmc__queue.html">grppi::mpmc_queue</a>&lt; T &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classgrppi_1_1mpmc__queue.html">mpmc_queue</a>&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aa4e63cc8a3cc2006494b11b739711f8e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa4e63cc8a3cc2006494b11b739711f8e">&#9670;&nbsp;</a></span>pop()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">T <a class="el" href="classgrppi_1_1mpmc__queue.html">grppi::mpmc_queue</a>&lt; T &gt;::pop</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aa18eda40dec95f4c568f5f40775e8e19"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa18eda40dec95f4c568f5f40775e8e19">&#9670;&nbsp;</a></span>push()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classgrppi_1_1mpmc__queue.html">grppi::mpmc_queue</a>&lt; T &gt;::push </td>
          <td>(</td>
          <td class="paramtype">T&#160;</td>
          <td class="paramname"><em>item</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="mpmc__queue_8h_source.html">mpmc_queue.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.2
</small></address>
</body>
</html>
